<?php
/**
 * Created by PhpStorm.
 * User: Lenovo
 * Date: 2020/7/18
 * Time: 19:17
 */

namespace app\api\model\driver;


class DriverUser extends BaseDriver
{
    protected $pk = 'user_id';
    public static  function getByOpenID($openid){
        $driverUser=self::where('open_id','=',$openid)->find();
        return $driverUser;
    }
}